/**
 * Created by bgy on 2016/12/5.
 */
/**
 * Created by bgy on 2016/12/5.
 * 我要报价
 */
import React from 'react';
import {Link} from 'react-router';

import HeaderTitle from '../../components/common/HeaderTitle';
import AttachmentMgt from '../common/AttachmentMgtNew';

class Offer extends React.Component {
  render() {
    return (
      <div className="main">
        <HeaderTitle title="我要报价"/>
        <div className="form">
          <div className="form-item">
            <label htmlFor="">报价商品</label><input type="text" defaultValue="苹果-水晶红富士"/>
          </div>
          <div className="form-item">
            <label htmlFor="">规格</label>
            <select name="" id="">
              <option value="">请选择</option>
              <option value="">1</option>
              <option value="">2</option>
              <option value="">3</option>
            </select>
          </div>
          <div className="form-item">
            <label htmlFor=""><span className="redStar">*</span>单价</label><input type="text"/>
          </div>
        </div>
        <div className="form-spacing"></div>
        <div className="form">
          <div className="form-item">
            <label htmlFor=""><span className="redStar">*</span>供应量</label><input type="text"/><span>公斤</span>
          </div>
          <div className="form-item">
            <label htmlFor=""><span className="redStar">*</span>供货时间</label>
            <select name="" id="">
              <option value="">请选择</option>
              <option value="">1</option>
              <option value="">2</option>
              <option value="">3</option>
            </select>
          </div>
          <div className="form-item">
            <label htmlFor=""><span className="redStar">*</span>供应地区</label><input type="text"/>
          </div>
          <div className="form-item">
            <label htmlFor=""><span className="">*</span>发货地址</label><input type="text"/>
          </div>
          <div className="form-item">
            <label htmlFor="">物流方式</label>
            <select name="" id="">
              <option value="">请选择</option>
              <option value="">1</option>
              <option value="">2</option>
              <option value="">3</option>
            </select>
          </div>
          <div className="form-item">
            <label htmlFor="">果品描述</label><textarea className="textarea" name="" id="" cols="20" rows="4"></textarea>
          </div>
          <div className="form-item pic last">
            <label htmlFor="">上传图片说明</label>
            <AttachmentMgt addButtonSrc='../images/uploadPic.png' allowMultiple={false}></AttachmentMgt>
          </div>
          <button style={{marginBottom:'1.5rem'}} className="button button-pill button-primary btn-green btn-long" ref="loginBtn">确认提交</button>
        </div>
      </div>
    )
  }
}
export default Offer;
